<template>
  <div>测试页面 {{ nested }}</div>
</template>

<script setup lang="ts">
// interface Props {
//   myObject: Record<string, any>
// }

interface Props {
  nested: Record<string, any>
}

const props = defineProps<Props>()

// const message = computed<string>(() => props.myObject.nested.value)

// watch(
//   () => props.myObject,
//   (newVal, oldVal) => {
//     console.log('myObject changed:', newVal)
//   }
//   // { deep: true }
// )
</script>

<style scoped lang="scss"></style>
